/**
 * 
 */
package com.mvity.framework.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.mvity.framework.common.base.BaseEntity;

/**
 * 角色与用户组关联表
 * 
 * @author vity
 * @date 2012-7-22
 * @mail vity.1215@gmail.com
 */
@Entity
@Table(name = "system_group_role")
public final class SystemGroupRole extends BaseEntity {

	private static final long serialVersionUID = 2308039793012298801L;

	@Column(name = "role_id", length = 32, nullable = false)
	private String userId;

	@Column(name = "group_id", length = 32, nullable = false)
	private String groupId;

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the groupId
	 */
	public String getGroupId() {
		return groupId;
	}

	/**
	 * @param groupId
	 *            the groupId to set
	 */
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

}
